CREATE (john:Person {name:'John'}), (jane:Person {name:'Jane'}), (tesla:Car {model:'Tesla Model S'}), (bmw:Car {model:'BMW 320i'}), (teslaCo:Company {name:'Tesla Inc.'}), (bmwCo:Company {name:'BMW AG'}), (california:Location {name:'California'}), (bavaria:Location {name:'Bavaria'}) MERGE (john)-[:OWNS]->(tesla) MERGE (john)-[:OWNS]->(bmw) MERGE (jane)-[:OWNS]->(bmw) MERGE (tesla)-[:MADE_BY]->(teslaCo) MERGE (bmw)-[:MADE_BY]->(bmwCo) MERGE (teslaCo)-[:LOCATED_IN]->(california) MERGE (bmwCo)-[:LOCATED_IN]->(bavaria);
